package main

func main() {
	c := make(chan int, 1)
	// 解决死锁
	// go func() {
	// 	c <- 1
	// }()
	<-c
	// fatal error: all goroutines are asleep - deadlock!
}
